/*
 * @Description: 
 * @Author: Zhang Zhangda
 * @Date: 2021-03-04 13:10:28
 * @LastEditTime: 2021-03-08 19:16:31
 * @LastEditors: Zhang Zhaoda
 */
import {FC} from "react"
import { Result, Button } from 'antd';
import {useHistory} from "umi"
const NoFoundPage:FC = () => {
  let his=useHistory()
  return (
    <Result
    status="404"
    title="404"
    subTitle="抱歉,此页面不存在"
    extra={<Button 
      type="primary" 
      onClick={()=>{
        his.go(-1)

    }}>返回</Button>}
  />
  )
}



export default NoFoundPage;